package org.example.websocket1.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class WebController {
    @RequestMapping("toLogin")
    public String toLogin() {
        return "login1";
    }
    @RequestMapping("/")
    public String home() {
        return "chatOne";
    }
    @RequestMapping("/index")
    public String index() {
        return "chatOne";
    }
    @RequestMapping("/fail")
    public String fail() {
        return "fail";
    }
}
